import {post_request} from "@/apis/read.js"
export function getSrcDataList (){ 
    return post_request('/api/dataManagement/dataInterface/getSrcDataList',{
    getList:true
    })
}

export function uploadSrcDataList(body){
    return post_request('/api/dataManagement/dataInterface/updateSrcDataList',body)
}

export function deleleSrcData(body){
    return post_request('/api/dataManagement/dataInterface/deletFile',body)
}

export function getSrcDataByFileName(body){
    return post_request('/api/dataManagement/dataInterface/getSrcDataByFileName',body)
}

// 元数据管理
export function uploadMetaDataList(body){
    return post_request('/api/dataManagement/MetaDataInterface/updateMetaDataList',body)
}

export function getMetaDataList (){ 
    return post_request('/api/dataManagement/MetaDataInterface/getMetaDataList',{
    getList:true
    })
}

export function deleleMetaData(body){
    return post_request('/api/dataManagement/MetaDataInterface/deletMetaFile',body)
}

export function getMetaDataByFileName(body){
    return post_request('/api/dataManagement/MetaDataInterface/getMetaDataByFileName',body)
}

export function getMetaDataAnalysisByFileName(body){
    return post_request('/api/dataManagement/MetaDataInterface/getMetaDataAnalysisByFileName',body)
}